package com.capinfo.accumulation.dao;

import java.util.List;
import java.util.Map;

import org.omg.CORBA.OBJECT_NOT_EXIST;

import com.capinfo.accumulation.model.accounting.mybist.GB_JZPZXX;
/**
 *  @author zxl
 */
public interface GB_JZPZXXDao {
    int deleteByPrimaryKey(String id);

    int insert(GB_JZPZXX record);

    int insertSelective(GB_JZPZXX record);

    GB_JZPZXX selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(GB_JZPZXX record);

    int updateByPrimaryKey(GB_JZPZXX record);
    //记账的方法
	int updateJZByID(GB_JZPZXX record);
	//查询以复核的数据
	List<GB_JZPZXX> findByFH(Map map);
	//查询未复核的数据
	List<GB_JZPZXX> findByFHisNull(Map map);
	//复核的方法
	int updateFhByID(GB_JZPZXX record);
	//添加问题说明的方法
	int updateWtsmById(GB_JZPZXX record);
	
	List<GB_JZPZXX> findbyByGrid(Map map);

	List<Map<String, Object>> hsdw();
	
	List<Map<String, Object>> cwzt();

	int findByPZ(GB_JZPZXX fjdjs);
	/**
	 * 汇总
	 * @param map
	 */
	void select(Map map);
	/**
	 * 汇总后修改GB_JZPZXX表的BIAOJi 字段
	 * @param map
	 */
	void PzhzBiaoJiupdate(Map map);
	/**
	 * 取消汇总
	 * @param map
	 */
	void qxhzupdate(String HZPZH);
	/**
	 * 凭证汇总下拉框回显
	 * @param map
	 * @return
	 */
	List<Map<String,Object>> xlhzselect();
}